<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>类选择器</title>
		<!--css的style-->
		<style>
			.box1{
				width: 100px;
				height: 100px;
				background-color: aquamarine;
			}
			.p1{
				font-size: 30px;
				color: blueviolet;
			}
		</style>
	</head>
	<body>
	<!--类选择器可以使用空格  设置多个类名-->
		<div class="box1 p1">div文字</div>
		<p class="p1">类选择器</p>
	</body>
</html>
